<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>$课堂练习$</title>
</head>
<body>
<script>


    // console.log(parseInt("10"));
    // console.log(parseInt("1g0"));
    // console.log(parseInt("g10"));
    // console.log(parseInt("1asda0"));
    // console.log(parseInt("10.98"));
    // console.log(parseInt("10.98asd"));
    // console.log(parseFloat("10.98fsa"));
    // console.log(Number("10"));

    var num = 10; //字符串有意义用这个装换
    console.log(num.toString());

    var num1 = 20; //字符串无意义
    console.log(String(num1));


</script>
</body>
</html>